<?xml version='1.0' encoding='UTF-8'?>

<!DOCTYPE root PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:c="http://java.sun.com/jstl/core">


     	<rich:dataTable id="dataTable" value="#{geoBean.entities}" var="e" width="100%" rows="10" rowKeyVar="index">


			<rich:column width="5%" style="text-align: center;" > 
				<f:facet name="header"><h:outputText value="Nº" /></f:facet>
				<h:outputText value="#{index+1}" style="color: black;"/>
			</rich:column>

			<rich:column width="50%" style="text-align: left;" > 
				<f:facet name="header"><h:outputText value="Descrição" /></f:facet>
				<h:outputText value="#{e.nome}" style="color: black;"/>
			</rich:column>

			<f:facet name="footer">
				<rich:datascroller renderIfSinglePage="false" for="dataTable"/>
         	 </f:facet>

		</rich:dataTable>

</ui:composition>